<?php
$this->breadcrumbs=array(
	'Locals'=>array('index'),
	'Create',
);

$this->menu=array(
	array('label'=>'List Local','url'=>array('index')),
	array('label'=>'Manage Local','url'=>array('admin')),
);
?>

<h1>Create Local</h1>

<?php $form=$this->beginWidget('bootstrap.widgets.TbActiveForm',array(
	'id'=>'local-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="help-block">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<?php echo $form->textFieldRow($model,'name',array('class'=>'span5','maxlength'=>50)); ?>

	<?php echo $form->textFieldRow($model,'link',array('class'=>'span5','maxlength'=>50)); ?>

	<?php // echo $form->textFieldRow($model,'status',array('class'=>'span5')); ?>

	<div class="form-actions">
		<?php $this->widget('bootstrap.widgets.TbButton', array(
			'buttonType'=>'submit',
			'type'=>'primary',
			'label'=>'Create',
		)); ?>
	</div>

<?php $this->endWidget(); ?>